package com.jf.blog.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * <p>
 * 博客标签关系表
 * </p>
 *
 * @author JF
 * @since 2025-06-20
 */
@Getter
@Setter
@ToString
@TableName("blog_tag")
@ApiModel(value = "BlogTag对象", description = "博客标签关系表")
public class BlogTag implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键自增
     */
    @ApiModelProperty("主键自增")
    @TableId(value = "bolg_tag_id", type = IdType.AUTO)
    private Integer bolgTagId;

    /**
     * 博客编号
     */
    @TableField("blog_id")
    @ApiModelProperty("博客编号")
    private Integer blogId;

    /**
     * 标签编号
     */
    @TableField("tag_id")
    @ApiModelProperty("标签编号")
    private Integer tagId;
}
